为什么#include <hash_map>编译不能通过
来源:百度知道 编辑:UC知道 时间:2024/05/29 04:08:12
msdn里面明明写着可以这样啊,我写在我的文件里,编译就是过不去,太奇怪了
我用的是Visual C++ 6.0
我用的是Visual C++ 6.0
什么版本的VS,2003?2005?
你搜索一下应该很多的。
You can't use VC2005's hash map in VC6, that's for sure. VC6 didn't have the best template support, so you need to find a hash map designed specifically for VC6. That being said, I seem to recall VC6 shipping with hash maps of its own. I'm not 100% certain about this, but it'd be worth searching through the header files.
你是想用STL里的map吧,你#include<map>就可以了
vC6.0有这个的文件吗,没听说过
为什么程序开头要include<iostream.h>呢?
#include<reg51.h>是什么意思啊?为什么要写这条语句?
#include <iostream>
#include<iostream.h
关于 #include<>
输入#include<stdlib.h> 后为什么错误是unable to open include file <stdlib.h>
vc2005中,同时有#include<stdio.h> #include<cstdio> ,然后调用printf,为什么不报错呢
#include<vector> #include<algorithm>是什么意思啊?
这样#include为什么不行了?
#include<stdio.h>